package com.jiangxjsy.crm.service.impl;

import com.jiangxjsy.crm.mapper.CrmContractMapper;
import com.jiangxjsy.crm.service.CrmContractService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/18 15:20
 */

@Service
public class CrmContractServiceImpl implements CrmContractService {
    @Resource
    private CrmContractMapper crmContractMapper;

    /**
     * 根据合同ID列表查询合同数量
     *
     * @param ids ids
     * @return 数量
     */
    @Override
    public Integer countContractsByIdsAndCheckStatus(List<Integer> ids) {
        return crmContractMapper.countContractsByIdsAndCheckStatus(ids);
    }
}
